package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.UacThreshold;
import com.csun.cmny.provider.model.dto.threshold.UacThresholdSaveDto;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-26 16:25
 * @Description: the interface uac threshold service
 */
public interface UacThresholdService extends IService<UacThreshold> {

    /**
     * show uac threshold by groupId
     *
     * @param groupId   group id
     *
     * @return  the uac threshold
     */
    UacThreshold showByGroupId(Long groupId);

    /**
     * save uac threshold
     *
     * @param uacThresholdSaveDto   the uac threshold save dto
     * @param loginAuthDto          the login auth dto
     *
     * @return  the int.
     */
    Integer save(UacThresholdSaveDto uacThresholdSaveDto, LoginAuthDto loginAuthDto);
}
